﻿#ifndef __TRANSACTIONINFOCONTROLLER__
#define __TRANSACTIONINFOCONTROLLER__

#include "BaseKit.h"

class TransactionInfoController:public CAViewController{
public:
	CREATE_FUNC(TransactionInfoController);
protected:
	TransactionInfoController();
	virtual ~TransactionInfoController();
	void viewDidLoad();
	void scrollViewHeaderBeginRefreshing();
	void scrollViewFooterBeginRefreshing();
	CACollectionViewCell* collectionCellAtIndex(const DSize& cellSize, unsigned int section, unsigned int row, unsigned int item);
	void fillData(const string& data);
private:
	int page=0;
	const char* url="/api/appMessage/query4sales";
	CSJson::Value datas;
	CACollectionView* list;
};

#endif